import { SiteConfig } from "@/types/siteConfig";
import { BsGithub, BsTwitterX, BsWechat } from "react-icons/bs";
import { MdEmail } from "react-icons/md";
import { SiBuymeacoffee, SiJuejin } from "react-icons/si";
 
const baseSiteConfig = {
	// 网站名称
  name: "Landing page boilerplate",
	// 网站描述
  description:
    "A versatile landing page boilerplate, ideal for various projects and marketing campaigns.",
  // 网站地址
	url: "https://landingpage.weijunext.com",
	// og是社交媒体上可展示的图片，如果没有专门设计og，也建议截图一张页面
  ogImage: "https://landingpage.weijunext.com/og.png",
	// 设置 metadata 字段前缀，默认是根目录
  metadataBase: "/",
  keywords: ["landing page boilerplate", "landing page template", "awesome landing page", "next.js landing page"],
  authors: [
    {
      name: "weijunext",
      url: "https://weijunext.com",
      twitter: 'https://twitter.com/weijunext',
    }
  ],
  creator: '@weijunext',
  themeColor: '#fff',
	// 图标
  icons: {
    icon: "/favicon.ico",
    shortcut: "/favicon-16x16.png",
    apple: "/apple-touch-icon.png",
  },
	// Header 上的外链信息
  headerLinks: [
    { name: 'repo', href: "https://github.com/weijunext/landing-page-boilerplate", icon: BsGithub },
    { name: 'twitter', href: "https://twitter.com/weijunext", icon: BsTwitterX },
    { name: 'buyMeCoffee', href: "https://www.buymeacoffee.com/weijunext", icon: SiBuymeacoffee }
  ],
	// Footer 上的联系信息
  footerLinks: [
    { name: 'email', href: "mailto:weijunext@gmail.com", icon: MdEmail },
    { name: 'twitter', href: "https://twitter.com/weijunext", icon: BsTwitterX },
    { name: 'github', href: "https://github.com/weijunext/", icon: BsGithub },
    { name: 'buyMeCoffee', href: "https://www.buymeacoffee.com/weijunext", icon: SiBuymeacoffee },
    { name: 'juejin', href: "https://juejin.cn/user/26044008768029", icon: SiJuejin },
    { name: 'weChat', href: "/make-a-friend", icon: BsWechat }
  ],
	// Footer 上的个人产品链接
  footerProducts: [
    { url: 'https://weijunext.com/', name: 'J实验室' },
    { url: 'https://nextjscn.org/docs', name: 'Next.js 中文文档' },
    { url: 'https://smartexcel.cc/', name: 'Smart Excel' },
    { url: 'https://landingpage.weijunext.com/', name: 'Landing Page Boilerplate' },
    { url: 'https://starter.weijunext.com/', name: 'Next.js Starter' },
    { url: 'https://nextjs.weijunext.com/', name: 'Next.js Practice' },
    { url: 'https://github.com/weijunext/indie-hacker-tools', name: 'Indie Hacker Tools' },
  ]
}
 
export const siteConfig: SiteConfig = {
  ...baseSiteConfig,
	// 配置了 openGraph 和 twitter，当用户在社交媒体和消息应用程序上
	// 分享指向你的网站时，链接会显示你在配置的图像。
  openGraph: {
    type: "website",
    locale: "en_US",
    url: baseSiteConfig.url,
    title: baseSiteConfig.name,
    description: baseSiteConfig.description,
    siteName: baseSiteConfig.name,
  },
  twitter: {
    card: "summary_large_image",
    title: baseSiteConfig.name,
    description: baseSiteConfig.description,
    images: [`${baseSiteConfig.url}/og.png`],
    creator: baseSiteConfig.creator,
  },
}